<?php
session_start();
$_SESSION['name']='张三';
$_SESSION['info']=array('张三','男');
if(! isset ($_SESSION['count'])){
    $_SESSION['count']=0;
}else{
    $_SESSION['count']++;
}
unset($_SESSION['name']);
$_SESSION=array();
session_destroy();

?>

